how to make div width auto adjust

59

.center {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

Comments

Submit
0 Comments